package com.example.hello.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AdPosition {
    private Integer positionId;
    private String positionName;
    private String positionCode;
    private Integer width;
    private Integer height;
    private String description;
    private Integer maxAds;
    private Integer status; // 0-禁用，1-启用
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;
} 